package net.hancl.modules.sys.dao;

import net.hancl.common.bean.page.Query;
import net.hancl.modules.sys.annotation.MybatisDao;
import net.hancl.modules.sys.entity.Dict;

import java.util.List;

@MybatisDao
public interface DictMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Dict record);

    int insertSelective(Dict record);

    Dict selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dict record);

    int updateByPrimaryKey(Dict record);

    Long getCount(Query query);

    List<Dict> queryPages(Query query);


    List<Dict> 	getByType(String type);
}
